package com.ruoyi.sys.security.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 巡更记录对象 tb_patrolling_record
 * 
 * @author iuxin
 * @date 2022-05-25
 */
public class TbPatrollingRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long prId;

    /** 巡更计划编号 连接tb_patrolling_plan表 */
    @Excel(name = "巡更计划编号 连接tb_patrolling_plan表")
    private Long prPpId;

    /** 巡更点编号连接tb_keep_watch表 */
    @Excel(name = "巡更点编号连接tb_keep_watch表")
    private Long prKwId;

    /** 巡更人员 连接tb__patrolling_personnel表 */
    @Excel(name = "巡更人员 连接tb__patrolling_personnel表")
    private Long prPpid;

    /** 0-正常巡更 1-为巡更 */
    @Excel(name = "0-正常巡更 1-为巡更")
    private Long prState;

    /** 从巡更计划表中获取 暂时不要 */
    private Long prData;

    public void setPrId(Long prId) 
    {
        this.prId = prId;
    }

    public Long getPrId() 
    {
        return prId;
    }
    public void setPrPpId(Long prPpId) 
    {
        this.prPpId = prPpId;
    }

    public Long getPrPpId() 
    {
        return prPpId;
    }
    public void setPrKwId(Long prKwId) 
    {
        this.prKwId = prKwId;
    }

    public Long getPrKwId() 
    {
        return prKwId;
    }
    public void setPrPpid(Long prPpid) 
    {
        this.prPpid = prPpid;
    }

    public Long getPrPpid() 
    {
        return prPpid;
    }
    public void setPrState(Long prState) 
    {
        this.prState = prState;
    }

    public Long getPrState() 
    {
        return prState;
    }
    public void setPrData(Long prData) 
    {
        this.prData = prData;
    }

    public Long getPrData() 
    {
        return prData;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("prId", getPrId())
            .append("prPpId", getPrPpId())
            .append("prKwId", getPrKwId())
            .append("prPpid", getPrPpid())
            .append("prState", getPrState())
            .append("prData", getPrData())
            .toString();
    }
}
